package lt.mockos.app.client.widget;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;

public class TextField extends TextBox {

    private Label label;

    public TextField() {
        this("");
    }

    public TextField(String name) {
        label = new Label(name);
        setWidth("50px");
    }

    public Label getLabel() {
        return label;
    }

}